<template>
  <doc-page title="ScrollSpy 滚动监听">
    <doc-demo title="基础使用">
      <DemoBasic />
    </doc-demo>

    <doc-demo title="动态更新">
      <DemoUpdate />
    </doc-demo>
  </doc-page>
</template>

<script setup lang="ts">
import DemoBasic from './demo/Basic.vue'
import DemoUpdate from './demo/Update.vue'
</script>
